package com.wsoft.oss.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * 秒传
 * @Author z001
 * @Date 2024/10/11 18:42
 */
@Data
@Accessors(chain = true)
public class SecondUploadQuery {

    @NotBlank(message = "文件md5值不能为空")
    @Schema(description = "文件md5值")
    private  String md5;

    @NotBlank(message = "桶类型不能为空")
    @Schema(description = "桶类型")
    private Integer  bucketType;

    @NotBlank(message = "文件名不能为空")
    @Schema(description = "文件名")
    private String fileName;

}
